package com.wskj.library.pojo;

import java.io.Serializable;

import java.util.Date;

/**
 * BookInfo 实体类
 * 2018-03-22 T148
 */ 
public class BookInfo implements Serializable{
	private static final long serialVersionUID = 1L;
	private int bid;  //图书的编号  
	private String bname; //图书的名称
	private String author; //图书的作者
	private Date publishTime; //出版时间
	private String publisher;//出版社
	private double price; //价格
	private Date collectDay;//入馆时间
	private int cid;//分类编号
	private String cname;//分类的名 
	private byte state;//状态  0已经借出   1可以外借 
	private String bimg=""; //图书的封面图片
	private String sumary; //图书的摘要 	
	
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	
	public void setBid(int bid){
	this.bid=bid;
	}
	public int getBid(){
		return bid;
	}
	public void setBname(String bname){
	this.bname=bname;
	}
	public String getBname(){
		return bname;
	}
	public void setAuthor(String author){
	this.author=author;
	}
	public String getAuthor(){
		return author;
	}
	public void setPublishTime(Date publishTime){
	this.publishTime=publishTime;
	}
	public Date getPublishTime(){
		return publishTime;
	}
	public void setPublisher(String publisher){
	this.publisher=publisher;
	}
	public String getPublisher(){
		return publisher;
	}
	public void setPrice(double price){
	this.price=price;
	}
	public double getPrice(){
		return price;
	}
	public void setCollectDay(Date collectDay){
	this.collectDay=collectDay;
	}
	public Date getCollectDay(){
		return collectDay;
	}
	public void setCid(int cid){
	this.cid=cid;
	}
	public int getCid(){
		return cid;
	}
	public void setState(byte state){
	this.state=state;
	}
	public byte getState(){
		return state;
	}
	public void setBimg(String bimg){
	this.bimg=bimg;
	}
	public String getBimg(){
		return bimg;
	}
	public void setSumary(String sumary){
	this.sumary=sumary;
	}
	public String getSumary(){
		return sumary;
	}
	
	
	public BookInfo() {
		super();
	}
	public BookInfo(int bid, String bname, String author, Date publishTime, String publisher, double price,
			Date collectDay, int cid, String cname, byte state, String bimg, String sumary) {
		super();
		this.bid = bid;
		this.bname = bname;
		this.author = author;
		this.publishTime = publishTime;
		this.publisher = publisher;
		this.price = price;
		this.collectDay = collectDay;
		this.cid = cid;
		this.cname = cname;
		this.state = state;
		this.bimg = bimg;
		this.sumary = sumary;
	}
	
	
	public BookInfo(String bname, String author, Date publishTime, String publisher, double price, Date collectDay,
			int cid, String sumary) {
		super();
		this.bname = bname;
		this.author = author;
		this.publishTime = publishTime;
		this.publisher = publisher;
		this.price = price;
		this.collectDay = collectDay;
		this.cid = cid;
		this.sumary = sumary;
	}
	
	
	
}

